package com.service.khqy;

import com.bpms.common.CommonUtil;
import com.bpms.common.Dict;
import com.bpms.common.Param;
import com.bpms.common.VO;
import com.bpms.esb.IService;

public class Getgrant implements IService {

	public VO exec(VO arg0) {
		VO v = new VO();
		try{
			String idtype1=Dict.getValue("IDTYPE","1" );
			String grantInfo=Param.getValue("ATM","授权");
			v.setAttr("grantInfo", grantInfo);
			
			
			v.setAttr("result", "1");
			v.setAttr("msg", "获取授权信息成功");
		}catch (Exception e) {
			CommonUtil.debug("Getgrant exception", e);
			
			v.setAttr("result", "9999");
			v.setAttr("msg", "访问数据库失败");
		}
		
		return v;
	}

}
